.main {
    background-color: white;
}

.main .header {
    height: 60px;
    border-bottom: 1px solid lightgrey;
    position: sticky;
    z-index: 999;
    top: 0;
    background-color: white;
}

.main .nav {
    height: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.main .nav .layui-row {
    height: 100%;
}

.main .nav .layui-row > div {
    height: 100%;
}

/*logo样式设置开始*/
.main .nav .logo {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .nav .logo a {
    display: block;
    height: 75%;
    width: 75%;
}

.main .nav .logo a #logo {
    display: block;
    height: 100%;
    width: 100%;
}

/*logo样式设置结束*/
/*菜单样式设置开始*/
.main .nav .menu {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.main .nav .menu .menu-item {
    height: 100%;
    width: 25%;
}

.main .nav .menu .menu-item:hover {
    background-color: rgba(0, 0, 0, .1);
}

.main .nav .menu .menu-item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    font-size: 16px;
}

.main .nav .menu .menu-item a.menu-active {
    color: palevioletred;
}

.main .nav .search {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.main .nav .search .search-group {
    height: 60%;
    width: 60%;
    position: relative;
}

.main .nav .search .search-group #search {
    display: block;
    width: 100%;
    height: 100%;
    padding-left: 15px;
    border-radius: 18px;
    border: none;
    background-color: lightgrey;
}

.main .nav .search .search-group i {
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/*菜单样式设置结束*/
/*用户信息设置开始*/
.main .nav .user {
    height: 100%;
}

.main .nav .user .avatar {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: space-evenly;
}

.main .nav .user .login {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
}

.main .nav .user .login > div {
    width: 30%;
}

.main .nav .user .login div a {
    font-size: 16px;
}

.main .nav .user .login .reg-btn a {
    color: palevioletred;
}

.main .nav .apply {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .nav .apply .apply-btn {
    height: 60%;
    width: 80%;
    background-color: palevioletred;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main .nav .apply .apply-btn:hover {
    opacity: .7;
}

.main .nav .apply .apply-btn a {
    color: white;
}

.main .body {
    max-width: 1080px;
    margin: 0 auto;
}

.main .body .content {
    display: flex;
}

.main .body .footer {
    height: 60px;
}

.main .body .footer p {
    text-align: center;
    margin-top: 10px;
}
